package wangjg.mda.gen;

import java.io.File;
import java.util.Map;

import wangjg.mda.model.obj.Model;

public class DefaultPreprocessor implements Preprocessor {

	@Override
	public void process(Map<String, Object> rootMap, File templFile) {
		Model model = (Model)rootMap.get("model");
		if(model!=null){
			rootMap.put("modelName", model.getName());
		}
	}

}
